package com.share.tdo;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Validated
public class FileTdo {
    @NotBlank(message = "文件路径不能为空")
    private String path;
    @NotNull(message = "文件id不能为空")
    private Long fileId;
}
